﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<CourseSystem.Core.Entities.StudentInfo>" %>
<% using (Ajax.BeginForm("StudentEditUc", new { Model.Id }, new AjaxOptions { HttpMethod = "Post", UpdateTargetId = "editDiv", }))
   {%>
<% Html.RenderPartial("HighLightMsgUc"); %>
<fieldset>
    <div class="editor-label">
        <%: Html.LabelFor(model => model.Comment) %>
    </div>
    <div class="editor-field">
        <%: Html.TextAreaFor(model => model.Comment, new { @class = "questionArea" })%>
        <%: Html.ValidationMessageFor(model => model.Comment)%>
    </div>
    <p>
        <input type="submit" value="保存" />
    </p>
</fieldset>
<% } %>
